# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=communicator
pkgver=3.0.1
pkgrel=2
pkgdesc='Contacts and dialer application'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-texteditor hicolor-icon-theme kpeople5 kcontacts5)
makedepends=(extra-cmake-modules qt5-location)
groups=(maui)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('9459b69419b933f620d61ec2403800f092ef15383920a472b3dbc3c011579ec8')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
